import Http from '@/common/http'

export default {

  getList: (params = {}) => Http.get('/teacher/list', params),

  getInfo: id => Http.get(`/teacher/${id}/info`),

  getCourses: (id, params = {}) => Http.get(`/teacher/${id}/courses`, params)

}
